package net.lab0.nebula.gui.enums;

public enum Resolution
{
    VGA("VGA", 640, 480),
    XGA("XGA", 1024, 768),
    UXGA("UXGA", 1600, 1200),
    FullHD("Full HD", 1920, 1080),
    _4K("4k", 4096, 2304),
    _8K("8k", 8192, 4320),
    
    SQR_512("512²", 512, 512),
    SQR_1024("1024²", 1024, 1024),
    SQR_2048("2048²", 2048, 2048),
    SQR_4096("4096²", 4096, 4096),
    SQR_8192("8192²", 8192, 8192),
    SQR_16384("16384²", 16384, 16384),
    SQR_32768("32768²", 32768, 32768), ;
    
    public final String name;
    public final int    xRes;
    public final int    yRes;
    
    private Resolution(String name, int xRes, int yRes)
    {
        this.name = name;
        this.xRes = xRes;
        this.yRes = yRes;
    }
    
    @Override
    public String toString()
    {
        return name + " (" + xRes + "x" + yRes + ")";
    }
    
}
